package nl.utwente.fmt.vertalerbouw.tarrh.checker;

import nl.utwente.fmt.vertalerbouw.tarrh.treewalker.RecognitionBaseException;

/**
 * Exception class for exceptions thrown from the CheckerVisitor.
 */
public class CheckerException extends RecognitionBaseException {
	private static final long serialVersionUID = -9040915743157586306L;

	/**
	 * Constructs a new exception with the specified detail message.
	 * 
	 * @param message
	 *            the detail message.
	 */
	public CheckerException(String message) {
		super(message);
	}

	/**
	 * Constructs a new exception with the specified detail message and cause.
	 * 
	 * @param message
	 *            the detail message.
	 * @param cause
	 *            the cause.
	 */
	public CheckerException(String message, Throwable cause) {
		super(message, cause);
	}

	/**
	 * Constructs a new exception with the specified cause.
	 * 
	 * @param cause
	 *            the cause.
	 */
	public CheckerException(Throwable cause) {
		super(cause);
	}

}
